function validate() {
  $("*[tip]").unbind("mouseover");
  $("*[tip]").removeAttr("tip");

  var ddd_validate_obj = ddd_validate();

  if (ddd_validate_obj == true) { return true }
  else {
    $.each(ddd_validate_obj.fields_ids, function(index, element) {
      var element_id = "#" + element;

      $(element_id).attr("tip", ddd_validate_obj.messages[index]);
      ddd_tip();

      $(element_id).effect("highlight", {}, 3500);
    });

    return false;
  }
}
